home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr48
/
pasclern.zip
/
PROCED1.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1993-04-01
|
454b
|
24 lines
PROGRAM first_procedure_call;
VAR count : INTEGER;
PROCEDURE write_a_header;
BEGIN
WRITELN('This is the header');
END;
PROCEDURE write_a_message;
BEGIN
WRITELN('This is the message and the count is',count:4);
END;
PROCEDURE write_an_ending;
BEGIN
WRITELN('This is the ending message');
END;
BEGIN (* main program *)
write_a_header;
FOR count := 1 TO 8 DO write_a_message;
write_an_ending;
END. (* of main program *)